﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="incluirAvaliacao.aspx.cs" Inherits="qbaproject.Avaliacao.Incluir.incluirAvaliacao" %>
<%@ Register  Assembly="AjaxControlToolkit"  Namespace="AjaxControlToolkit.HTMLEditor"  TagPrefix="HTMLEditor" %>  
<asp:Content ID="HeadContent" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">

            <div id="page-wrapper">
		        <div id="main-wrapper">
			        <div id="main-content">
                        <div class="title title-spacing">
					        <h2>Avaliações</h2>
                            Avaliações.
				        </div>
                        <div class="response-msg success ui-corner-all" runat="server" id="divMsnIncluirSucesso" visible="false">
					        <span>Sucesso!</span>
					        Novo produto cadastrado com sucesso.
				        </div>
                        <div class="response-msg error ui-corner-all" runat="server" id="divMsnIncluirAtencao" visible="false">
					        <span>Atenção!</span>
					        Ocorreu algum erro no novo cadastro.
				        </div>
                        <div style="height:30px;">
                            <asp:LinkButton ID="lnk" CssClass="btn ui-state-default ui-corner-all" 
                                                runat="server" onclick="lnk_Click" ><span class="ui-icon ui-icon-back"></span>Voltar a pesquisa</asp:LinkButton>
                        </div>
                        <div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all form-container">
					        <div class="portlet-header ui-widget-header">Nova avaliação</div>
					        <div class="portlet-content">
                                <ul>
						            <li>
							            <label  class="desc">
								            Produto*
							            </label>
							            <div>
							                <asp:DropDownList ID="ddlProdutos" DataValueField="id_produto" DataTextField="nm_produto" runat="server" CssClass="field">
                                            </asp:DropDownList>
							            </div>
                                        <div>
                                            <asp:Label Text="" runat="server" ID="lblProdutoObrigatorio" ForeColor="Red" />
                                        </div>
						            </li>
                                    <li>
							            <label  class="desc">
								            Usuário*
							            </label>
							            <div>
							                <asp:DropDownList ID="ddlUsuarios" DataValueField="id_usuario" DataTextField="nm_usuario" runat="server" CssClass="field">
                                            </asp:DropDownList>
							            </div>
                                        <div>
                                            <asp:Label Text="" runat="server" ID="lblUsuarioObrigatorio" ForeColor="Red" />
                                        </div>
						            </li>
                                    <li>
							            <label  class="desc">
								            Avaliação*
							            </label>
							            <div>
							                <HTMLEditor:Editor runat="server" Width="50%" ID="editorTeAvaliacao"/>
                                            <!--<asp:TextBox runat="server" ID="txtTeAvaliacao" TextMode="MultiLine" Columns="50" Rows="10" Text="" />-->
    
                                            
							            </div>
                                        <div>
                                            <asp:Label Text="" runat="server" ID="lblTeAvaliacaoObrigatorio" ForeColor="Red" />
                                        </div>
						            </li>
                                    <li>
                                        <label  class="desc">
								            Nota geral*
							            </label>
                                        <div>
                                            <asp:TextBox ID="txtNrNotaGeral" CssClass="field text three-column-small" 
                                                Width="20" MaxLength="2" runat="server" Text=""></asp:TextBox>
							            </div>
                                        <div>
                                            <asp:Label Text="" runat="server" ID="lblNrNotaGeralObrigatoria" ForeColor="Red" />
                                        </div>
						            </li>
                                    <li>
                                        <label  class="desc">
								            Nota de preço*
							            </label>
                                        <div>
                                            <asp:TextBox ID="txtNrNotaPreco" CssClass="field text three-column-small" 
                                                Width="20" MaxLength="2" runat="server" Text=""></asp:TextBox>
							            </div>
                                        <div>
                                            
                                            <asp:Label Text="" runat="server" ID="lblNrNotaPrecoObrigatoria" ForeColor="Red" />
                                        </div>
						            </li>
                                    <li>
                                        <label  class="desc">
								            Nota de qualidade*
							            </label>
                                        <div>
                                            <asp:TextBox ID="txtNrNotaQualidade" CssClass="field text three-column-small" 
                                                Width="20" MaxLength="2" runat="server" Text=""></asp:TextBox>
							            </div>
                                        <div>
                                            <asp:Label Text="" runat="server" ID="lblNrNotaQualidadeObrigatoria" ForeColor="Red" />
                                        </div>
						            </li>
                                    <li>
                                        <label  class="desc">
								            Nota de tempo de uso*
							            </label>
                                        <div>
                                            <asp:TextBox ID="txtNrNotaTempoUso" CssClass="field text three-column-small" 
                                                Width="20" MaxLength="2" runat="server" Text=""></asp:TextBox>
							            </div>
                                        <div>
                                            <asp:Label Text="" runat="server" ID="lblNrNotaTempoUsoObrigatoria" ForeColor="Red" />
                                        </div>
						            </li>
                                    <li>
                                        <label  class="desc">
								            Pros*
							            </label>
                                        <div>
                                            <asp:TextBox ID="txtTePros" TextMode="MultiLine" Rows="5" Columns="40" CssClass="field text small" runat="server" Text=""></asp:TextBox>
							            </div>
                                        <div>
                                            <asp:Label Text="" runat="server" ID="lblTeProsObrigatorio" ForeColor="Red" />
                                        </div>
						            </li>
                                    <li>
                                        <label  class="desc">
								            Contras*
							            </label>
                                        <div>
                                            <asp:TextBox ID="txtTeContras" TextMode="MultiLine"  Rows="5" Columns="40"  CssClass="field text small" runat="server" Text=""></asp:TextBox>
                                        </div>
                                        <div>
                                            <asp:Label Text="" runat="server" ID="lblTeContrasObrigatorio" ForeColor="Red" />
                                        </div>
						            </li>
                                    
                                    <li class="buttons">
                                        <div>
				                            <asp:LinkButton ID="lkbSalvar" CssClass="btn ui-state-default ui-corner-all" 
                                                runat="server" onclick="lkbSalvar_Click"><span class="ui-icon ui-icon-search"></span>Salvar</asp:LinkButton>
			                            </div>
							        </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
</asp:Content>

